package com.os.ordersystem.mapper;

import com.os.ordersystem.bean.OrderItem;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface OrderItemMapper {
    //添加订单项
    void addOrderItem(OrderItem orderItem);
    //删除订单项
    int del(Integer id);

    List<OrderItem> selectAll();
}
